import request from "@/config/utils/request";
//验收退货列表
export function listBowOutCertPage(data) {
  return request({
    url: "/apis/smp/bowoutcert/listBowOutCertPage",
    method: "POST",
    data
  });
}
// 删除
export function removeBowOutCert(data) {
  return request({
    url: "/apis/smp/bowoutcert/removeBowOutCert",
    method: "POST",
    data
  });
}
//验收退货新增
export function saveBowOutCert(data) {
  return request({
    url: "/apis/smp/bowoutcert/saveBowOutCert",
    method: "POST",
    data
  });
}
// 验收退货编辑
export function editBowOutCert(data) {
  return request({
    url: "/apis/smp/bowoutcert/editBowOutCert",
    method: "POST",
    data
  });
}
// 弹框选择
export function getAcceptanceCert(data) {
  return request({
    url: "/apis/smp/acceptancecert/getAcceptanceCert",
    method: "post",
    data
  });
}
// 验收单编号选择弹框table
export function listAcceptanceCert(data) {
  return request({
    url: "/apis/smp/acceptancecert/listAcceptanceCert",
    method: "post",
    data
  });
}
// 退货验收查看
export function getDetail(data) {
  return request({
    url: "/apis/smp/bowoutcert/getBowOutCert",
    method: "POST",
    data
  });
}

// 新增时baseinfo回显
export function getSmpPcConcById(data) {
  return request({
    url: "/apis/smp/smppcconc/getSmpPcConcById",
    method: "post",
    data
  });
}
